<template>
  <div>
    <div>请在手机端测试</div>
    <div>
      单点标注
    </div>
    <el-button @click="singlePointCallGaode">调用高德地图</el-button>
    <el-button @click="singlePointCallBaidu">调用百度地图</el-button>
  </div>
</template>

<script>
import {CallMapFunction} from "@localModules/ZhiXinLib/utils/CallMapFunction";

export default {
  name: "CallMapFunction",
  methods: {
    singlePointCallBaidu() {
      CallMapFunction.singlePointAnnotation(
        115.865177,
        28.774251,
        '新城悦隽时代',
        'baidu');
    },
    singlePointCallGaode() {
      CallMapFunction.singlePointAnnotation(
        115.865177,
        28.774251,
        '新城悦隽时代',
        'gaode');
    },
  }
}
</script>

<style scoped lang="scss">

</style>
